﻿Array.prototype.in_array = function (e)
{
    for (var i = 0; i < this.length; i++)
    {
        if (this[i] == e)
            return true;
    }
    return false;
}  